<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://shiro.apache.org/tags" prefix="shiro" %>
<html>
<head>
    <title>学员缴费明细</title>

    <!--引入公共的easyui文件头-->
    <%@include file="/WEB-INF/views/commons/common_easyui.jsp" %>

    <script type="text/javascript" src="/static/js/system/tuitionDetail.js"></script>
</head>
<body>

<!--begin信息列表-->
<table id="tuitionDetail_datagrid"></table>
<!--end信息列表-->

<!--begin左上角工具栏-->
<div id="tuitionDetail_tb">
    <div>
        <shiro:hasPermission name="tuitionDetail:save">
            <a href="javascript:;" class="easyui-linkbutton" data-options="iconCls:'icon-add',plain:true"
               data-cmd="add">增加</a>
        </shiro:hasPermission>

        <a href="javascript:;" class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true" data-cmd="watch">查看</a>

        <shiro:hasPermission name="tuitionDetail:changeState">
            <a href="javascript:;" class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true"
               data-cmd="changeState">审核</a>
        </shiro:hasPermission>

        <a href="javascript:;" class="easyui-linkbutton" data-options="iconCls:'icon-reload',plain:true"
           data-cmd="reload">刷新</a>
    </div>
    <div>
        <!--高级查询-->
        关键字查询:<input class="easyui-textbox" style="width: 120px" prompt="关键字:姓名" name="keywords" id="keywords"/>
        <input class="easyui-combobox" style="width: 120px" name="geade" id="geadeId" prompt="请选择班级"
               data-options=" url:'/grade/listAll',
                                        valueField: 'id',
                                        textField: 'name'"
        />
        转学时间: <input type="text" class="easyui-datebox" id="beginDate" name="beginDate" prompt="请输入开始时间"/> -
        <input type="text" class="easyui-datebox" id="endDate" name="endDate" prompt="请输入结束时间"/>
        <a href="javascript:;" class="easyui-linkbutton" data-options="iconCls:'icon-search',plain:true"
           data-cmd="query">Search</a>

    </div>
</div>
<!--end左上角工具栏-->

<!--begin学员缴费添加对话框-->
<div id="tuitionDetail_dialog" align="center">
    <form id="tuitionDetail_form" method="post">
        <table style="margin-top: 20px;">
            <tr>
                <td>用户名</td>
                <td><input class="easyui-combobox" prompt="用户名" panelHeight="auto" name="professionalstuent.id"
                           id="tuitionDetailId"
                           data-options="
                                     url:'/tuition/unpaidstudent',
                                        valueField: 'id',
                                        textField: 'name'
                                       "
                ></td>
            </tr>
            <tr>
                <td>班级</td>
                <td><input class="easyui-combobox" name="grade.id" id="grade" panelHeight="auto" prompt="班级"
                           data-options="
                                     url:'/grade/listAll',
                                        valueField: 'id',
                                        textField: 'name'
                                       "></td>
            </tr>
            <tr>
                <td>收款时间</td>
                <td><input class="easyui-datetimebox" name="billdate" prompt="收款时间"></td>
            </tr>
            <tr>
                <td>收款金额</td>
                <td><input class="easyui-textbox" name="amountcollected" prompt="收款金额"></td>
            </tr>
            <tr>
                <td>未收金额</td>
                <td><input class="easyui-textbox" name="unpaidamount" id="unpaidamount" prompt="未收金额"></td>
            </tr>
            <tr>
                <td>收款类型</td>
                <td><input class="easyui-combobox" panelHeight="auto" name="datadictionaryitem.id" prompt="支付方式"
                           data-options="
                                     url:'/dataDictionary1/selectDataDictionaryItemsBySn?sn=paymentDethod',
                                        valueField: 'id',
                                        textField: 'name'
                                       "></td>
            </tr>
            <tr>
                <td>收款人</td>
                <td><input class="easyui-combobox" panelHeight="auto" name="collectionsuser.id" prompt="收款人"
                           data-options="
                                     url:'/employee/listAll',
                                        valueField: 'id',
                                        textField: 'username'
                                       "></td>
            </tr>
            <tr>
                <td>单据号</td>
                <td><input class="easyui-textbox" name="receipts" prompt="单据号"></td>
            </tr>
            <tr>
                <td>备注</td>
                <td><input class="easyui-textbox" name="remark" prompt="备注"></td>
            </tr>
        </table>
    </form>
</div>
<!--end学员缴费添加对话框-->

<!--begin添加/编辑对话框底部按钮-->
<div id="tuitionDetail_bb">
    <a href="javascript:;" class="easyui-linkbutton" plain="true" iconCls="icon-save" data-cmd="save">保存</a>
    <a href="javascript:;" class="easyui-linkbutton" plain="true" iconCls="icon-cancel" data-cmd="cancel">取消</a>
</div>
<!--end添加/编辑对话框底部按钮-->

</body>
</html>
